

<style type="text/css">

    body {
        background-color: #fff;
        margin: 40px;
        font-family: Lucida Grande, Verdana, Sans-serif;
        font-size: 14px;
        color: #4F5155;
    }

    a {
        color: #003399;
        background-color: transparent;
        font-weight: normal;
    }

    h1 {
        color: #444;
        background-color: transparent;
        border-bottom: 1px solid #D0D0D0;
        font-size: 16px;
        font-weight: bold;
        margin: 24px 0 2px 0;
        padding: 5px 0 6px 0;
    }

    code {
        font-family: Monaco, Verdana, Sans-serif;
        font-size: 12px;
        background-color: #f9f9f9;
        border: 1px solid #D0D0D0;
        color: #002166;
        display: block;
        margin: 14px 0 14px 0;
        padding: 12px 10px 12px 10px;
    }

</style>


<h1><?php echo isset($title) ? $title : NULL; ?></h1>

<code>

    <table>
        <tr>
            <td><?php echo __('customer'); ?></td>
            <td><?php echo isset($address_name) ? $address_name : NULL; ?></td>
        </tr>
        <tr>
            <td><?php echo __('email'); ?></td>
            <td><?php echo isset($payer_email) ? $payer_email : NULL; ?></td>
        </tr>
    </table>
    <br /><br />
    <table>
    <?php $counter=1; foreach($ticket_list as $atk):?>
        <tr>
            <td><?php echo __('ticket'). ' '.$counter; ?></td>
            <td><?php echo isset($atk['ticket_name']) ? $atk['ticket_name'] : NULL; ?></td>
        </tr>              
        <tr>
            <td><?php echo __('serial_number'); ?></td>
            <td><?php echo isset($atk['ticket_serial_number']) ? $atk['ticket_serial_number'] : NULL; ?></td>
        </tr>
        <tr>
            <td><?php echo __('ticket_description'); ?></td>
            <td><?php echo isset($atk['ticket_description']) ? $atk['ticket_description'] : NULL; ?></td>
        </tr>              
        <tr>
            <td><?php echo __('ticket_expiredate'); ?></td>
            <td><?php echo isset($atk['ticket_expiry_date']) ? $atk['ticket_expiry_date'] : NULL; ?></td>
        </tr>
    <?php $counter++; endforeach;?>
    </table>


</code>

